package cvi.com.reader.bean;

import java.io.Serializable;

/**
 * @author cyj
 * @createDate 2022-10-14
 * @ClassName: ReaderBean
 * @Description: 描述
 * @Version: 1.0
 */
public class ReaderBean  implements Serializable {


    /**
     * code : 1
     * msg : {"id":203,"realname":"夏贵露","avatar":"/uploads/avatar/default.jpg","type":"normal","user_works":{"all_works":1,"re_works":1,"unre_works":0,"views":1,"likes":0}}
     * duration : 1440
     */

    private int code;
    private MsgBean msg;
    private String duration;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public MsgBean getMsg() {
        return msg;
    }

    public void setMsg(MsgBean msg) {
        this.msg = msg;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public static class MsgBean {
        /**
         * id : 203
         * realname : 夏贵露
         * avatar : /uploads/avatar/default.jpg
         * type : normal
         * user_works : {"all_works":1,"re_works":1,"unre_works":0,"views":1,"likes":0}
         */

        private int id;
        private String realname;
        private String avatar;
        private String type;
        private UserWorksBean user_works;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getRealname() {
            return realname;
        }

        public void setRealname(String realname) {
            this.realname = realname;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public UserWorksBean getUser_works() {
            return user_works;
        }

        public void setUser_works(UserWorksBean user_works) {
            this.user_works = user_works;
        }

        public static class UserWorksBean {
            /**
             * all_works : 1
             * re_works : 1
             * unre_works : 0
             * views : 1
             * likes : 0
             */

            private int all_works;
            private int re_works;
            private int unre_works;
            private int views;
            private int likes;

            public int getAll_works() {
                return all_works;
            }

            public void setAll_works(int all_works) {
                this.all_works = all_works;
            }

            public int getRe_works() {
                return re_works;
            }

            public void setRe_works(int re_works) {
                this.re_works = re_works;
            }

            public int getUnre_works() {
                return unre_works;
            }

            public void setUnre_works(int unre_works) {
                this.unre_works = unre_works;
            }

            public int getViews() {
                return views;
            }

            public void setViews(int views) {
                this.views = views;
            }

            public int getLikes() {
                return likes;
            }

            public void setLikes(int likes) {
                this.likes = likes;
            }
        }
    }
}
